package com.platform.feign.spring.other;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.multipart.MultipartFile;

import static org.springframework.http.MediaType.MULTIPART_FORM_DATA_VALUE;

/**
 * @author hgx
 * @Description: 用户上传下载文件
 * @date 2020/5/14 16:14
 */
public interface IUserFile {


    @PostMapping(value = "/upload", consumes = {MULTIPART_FORM_DATA_VALUE})
    public String uploadFile(MultipartFile file);

}
